home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr25 / stdapp.zip / UTL.H < prev    next >
Text File  |  1993-03-05  |  3KB  |  88 lines

  1. #ifndef INCL_UTL
  2. #define INCL_UTL
  3.  
  4. #ifndef API_SUCCESS
  5. #define API_SUCCESS   1
  6. #endif
  7.  
  8. #ifndef API_FAILED
  9. #define API_FAILED    0
  10. #endif
  11.  
  12.  
  13. #ifndef UTLMAG_TEXT_LENGTH
  14. #define UTLMAG_TEXT_LENGTH    128
  15. #endif
  16.  
  17.  
  18. BOOL  APIENTRY UtlDisplayError( HAB hab
  19.                               , PSZ pszString);
  20.  
  21. // Message box ids
  22. #define IDD_MSGBOX                    9500
  23.  
  24. //  Messagetable ids
  25. #define IDMSG_INITFAILED                 1
  26. #define IDMSG_FRAMEWINCREATEFAILED       2
  27. #define IDMSG_CLIENTWINCREATEFAILED      3
  28. #define IDMSG_CANNOTGETHPS               4
  29. #define IDMSG_HELPLOADERROR              5
  30. #define IDMSG_CANNOTLOADSTRING           6
  31. #define IDMSG_CANNOTOPENPRINTER          7
  32. #define IDMSG_HELPDISPLAYERROR           8
  33. #define IDMSG_CANNOTALLOCATEMEMORY       9
  34. #define IDMSG_GPISETCOLOR               10
  35. #define IDMSG_GPISETCURRENTPOSITION     11
  36. #define IDMSG_GPIFULLARC                12
  37. #define IDMSG_GPIBEGINPATH              13
  38. #define IDMSG_GPICLOSEFIGURE            14
  39. #define IDMSG_GPIENDPATH                15
  40. #define IDMSG_GPIFILLPATH               16
  41. #define IDMSG_GPISETPAGEVIEWPORT        17
  42. #define IDMSG_GPISETARCPARAMS           18
  43. #define IDMSG_CANNOTLOADMESSAGE         19
  44. #define IDMSG_CANNOTLOADMODULE          20
  45. #define IDMSG_CONFIRMEXITOF             21
  46. #define IDMSG_STDAPPSERVICE             22
  47.  
  48.  
  49. #define IDMSG_ACTBARCREATEERR           23
  50. #define IDMSG_CREATEHLPSUBMENUWIN       24
  51. #define IDMSG_ADDHLPSUBMENUWIN          25
  52. #define IDMSG_CREATEEXITSUBMENUWIN      26
  53. #define IDMSG_ADDEXITSUBMENUWIN         27
  54. #define IDMSG_CONFIRMEXITDLG            28
  55.  
  56.  
  57. USHORT APIENTRY UtlUserMsgBox( PSZ     pszMsg
  58.                              , PSZ     pszMsgBoxTitle
  59.                              , USHORT  fsStyle
  60.                              , BOOL    fBeep
  61.                              , USHORT  usMsgID );
  62.  
  63. PSZ APIENTRY  UtlSubsitiuteStrings( HAB     hab
  64.                                   , HMODULE hmod
  65.                                   , USHORT  usMsgID
  66.                                   , PSZ     szTarget
  67.                                   , PSZ     szSub1);
  68.  
  69. BOOL   APIENTRY UtlLoadMessage( HAB     hab
  70.                               , HMODULE hmod
  71.                               , USHORT  usMsgID
  72.                               , USHORT  usSize
  73.                               , PSZ     pszBuffer);
  74.  
  75. BOOL   APIENTRY UtlLoadString( HAB     hab
  76.                              , HMODULE hmod
  77.                              , USHORT  usMsgID
  78.                              , USHORT  usSize
  79.                              , PSZ     pszBuffer);
  80.  
  81. USHORT APIENTRY UtlMsgBox( HAB      hab
  82.                          , HMODULE  hmod
  83.                          , USHORT   MsgID
  84.                          , USHORT   fsStyle
  85.                          , BOOL     fBeep);
  86. #endif
  87.  
  88.